package com.javaspeak.designpatterns.go4.behavioural.state;

/**
 * The AbstractAccountState object which all state objects extend implements
 * this State interface.
 *
 * @author John Dickerson
 */
public interface State {

    float getBalance();

    void setSalary( StateContext stateContext, int salary );
    int getSalary();

    int getOverdraft();
    String getAccountName();
}
